<script>

import TenZxl from "@/pages/report/tenace/com/ten-zxl.vue";

/**
 * 保养综合看板
 * 原理:
 * index 容器结构组件
 *
 * view 下是图表、文本组件
 *
 * chart 各种图表组件，负责处理上层组件传来的数据，组合成图表
 */
export default {
  name: "ten-index",
  components: {TenZxl},


}
</script>

<template>
  <scroll-view scroll-y="true" style="height: 90vh;">
    <view class="dev-index-box">
      <text class="dev-index-title">保养综合看板</text>
    </view>

    <view class="dev-chart-box-l">

    </view>

    <view class="dev-chart-box-l">

    </view>

    <view class="dev-chart-box-s">
      <view class="dev-chart-box-sr">
        <ten-zxl/>
      </view>
      <view class="dev-chart-box-sr">
        <ten-zxl/>
      </view>
    </view>

    <view class="dev-chart-box-l">

    </view>

    <view class="dev-chart-box-l">

    </view>

  </scroll-view>
</template>

<style scoped lang="scss">
.dev-index-box {
  text-align: center;
  font-weight: bold;
  margin: 15rpx;
  padding: 10rpx 0;
  background-color: #FEFEFE;
  border-radius: 10px;

  .dev-index-title {
    font-size: 60rpx;
    color: #000000;
  }
}

.dev-chart-box-l {
  margin: 15rpx;
  background-color: #FEFEFE;
  border-radius: 10px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
  padding: 10rpx;
}

.dev-chart-box-s {
  margin: 15rpx 0;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  padding: 5rpx;

  .dev-chart-box-sr {
    width: 48%;
    margin: 5rpx 10rpx;
    background-color: #FEFEFE;
    border-radius: 10px;
    padding: 5px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
  }
}
</style>